{{if ENV !== 'product'}}
<div class="swiper-wrapper">
  <div class="swiper-slide slider-item" style="background-image:url('/@@/images/m/home_slider1.jpg')"></div>
  <div class="swiper-slide slider-item" style="background-image:url('/@@/images/m/home_slider2.jpg')"></div>
  <div class="swiper-slide slider-item" style="background-image:url('/@@/images/m/home_slider1.jpg')"></div>
  <div class="swiper-slide slider-item" style="background-image:url('/@@/images/m/home_slider2.jpg')"></div>
</div>
{{else}}
<div class="swiper-wrapper">
  {loop source=get_ad_pics($tpl_id='3')}
  <div class="swiper-slide slider-item" style="background-image:url({print $v['pic']/})" title="{print $v['pic_text']/}"></div>
  {/loop}
</div>
{{/if}}